package com.scott.crm.role.service;

import com.scott.crm.role.bean.RoleBean;

import java.util.List;

/**
 * @author 黄后林
 * @version 1.0
 * @note
 * @date 2021-11-27 16:22:31
 */
public interface RoleService {

    List<RoleBean> findRoleListByUserId(Integer userId);

    List<RoleBean> findAllRoles();

    List<RoleBean> findRoleList(Integer begin,Integer end);

    int addRole(RoleBean roleBean);

    int updateRole(RoleBean role);

    int deleteRoles(List<Integer> ids);
}
